{% extends "_layouts/default.html" -%}
{% block content -%}
<div class="newslist">
    <ul class="clearfix" style="width: 100%;">
        {% for r in videos -%}
        {% if loop.index % 2 == 1 -%} <li> {% endif -%}
            <div class="newslist_img fl"><img src="{{r.cover_image|safe}}" /></div>
            <div class="newslist_txt fr">
                <h4><a href="news.html" >{{r.title}}</a></h4>
                <h5>{{r.tag_ids|safe}}</h5>
                <div class="newslist_txt_con">{{r.remark}}</div>
            </div>
        {% if loop.index % 2 == 0 or loop.index == item_count -%} </li> {% endif -%}
        {% endfor -%}
    </ul>
</div>
<!--分页-->
<div class="Page clearfix">
    <span>46 条记录 1/6 页</span>  <a href="">下一页</a><span class="current">1</span>
    <a href="">&nbsp;2&nbsp;</a>
    <a href="">&nbsp;3&nbsp;</a>
    <a href="">&nbsp;4&nbsp;</a>
    <a href="">&nbsp;5&nbsp;</a>
    <a href="">下5页</a>
    <a href="">末页</a> 
</div>
{% endblock content -%}
